package cn.iocoder.yudao.module.ad.effect.vo;

import cn.iocoder.yudao.framework.business.basic.pojo.vo.MemberScopeVO;
import cn.iocoder.yudao.module.ad.plan.vo.AppAdPlanVO;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 广告效果记录 VO
 *
 * @author 山野羡民（1032694760@qq.com）
 */
@Data
@NoArgsConstructor
public class AppAdEffectRecordVO extends MemberScopeVO {

    @Schema(description = "计划编号", example = "1")
    private Long planId;

    @Schema(description = "计划信息")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private AppAdPlanVO plan;

    @Schema(description = "场景（10:看广告增值联盟豆，20:扫商家收款码付款）", example = "10")
    private Integer scene;

    @Schema(description = "场景", example = "看广告增值联盟豆")
    private String sceneName;

    @Schema(description = "类型（1:曝光，2:点击，11:播放, 100:任务提交）", example = "1")
    private Integer type;

    @Schema(description = "类型", example = "任务提交")
    private String typeName;

    @Schema(description = "时长，单位为秒", example = "30")
    private Integer duration;

    @Schema(description = "花费金额，单位为分", example = "5000")
    private Integer spendPrice;

}
